#ifndef SAVEEXPINFO_H
#define SAVEEXPINFO_H

#import <QUuid>

#import "pcrState.h"
#import "logHelperJ.h"

// 实验完成后，自动导出报告、数据库存储历史实验记录
class SaveExpInfo : public QObject
{
    Q_OBJECT

public:
    SaveExpInfo();

    Q_INVOKABLE void calculate(QString equId);
    void exportReport(QString equId);
    void saveHistory(QString equId);

private:
    PCRState*       pState = nullptr;

};

#endif // SAVEEXPINFO_H
